package com.wudl.db;

import com.wudl.db.model.User;
import com.wudl.db.service.UserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName : Application
 * @Description :
 * @Author :wudl
 * @Date: 2021-08-05 22:53
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        ApplicationContext ac= SpringApplication.run(Application.class, args);
        UserService service= (UserService) ac.getBean("userService");

    }
}
